package com.itheima.dao;

import com.itheima.pojo.User;
import org.springframework.stereotype.Repository;

/**
 * @author huyoufu <https://github.com/huyoufu>
 * @TIME 2020-08-07 09:00
 * @description
 */
@Repository
public class UserDao {
    public User findByUP(String username,String password){
        System.out.println("dao层模拟根据用户名密码查询");
        return new User();
    }
    public User findById(int id){
        System.out.println("dao层模拟根据id查询");
        return new User();
    }
}
